import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Class that displays the score the Player has get along the game.
 * 
 * @author Manuel Nava
 * @version 1.0
 */
public class Score extends Actor
{
    /**
     * The constructor of the class receives an integer value that indicates the score the class must
     * display.
     */
    public Score(int d)
    {
        String vid=("Score: " + d);
        super.setImage(new GreenfootImage(vid,35,java.awt.Color.yellow,/*java.awt.Color.green*/null));
    }
    
    /**
     * The method act in this class is empty.
     */
    public void act() 
    {
        // Add your action code here.
    }    
}
